package cn.example.vip.mall.order;

import cn.example.vip.mall.cart.feign.CartFeign;
import cn.example.vip.mall.goods.feign.SkuFeign;
import cn.example.vip.mall.order.seata.SeataDataSourceProxy;
import cn.example.vip.mall.user.feign.AddressFeign;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(basePackageClasses = {
	SkuFeign.class,
	CartFeign.class,
	AddressFeign.class
})
@MapperScan("cn.example.vip.mall.order.mapper")
@ConfigurationPropertiesScan(basePackageClasses = {
	SeataDataSourceProxy.class
})
@SpringBootApplication
public class MallOrderApplication {
	public static void main(String[] args) {
		SpringApplication.run(MallOrderApplication.class, args);
	}
}
